package com.wbsxch.shiro.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

@Data
public class UserDTO implements Serializable {
    private static final long serialVersionUID = -8901438422819903792L;
    private Long id;
    private String username;
    private String password;
    private String salt;
    private String name;
    private String avatar;
    private String description;
    private Date loginTime;
    private Date lastLoginTime;
    private Integer state;
    private Date createTime;
    private Date updateTime;

    private Set<Long> roles;
}
